(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/kp-shop/product" ], {
    "25f1": function(a, t, e) {
        (function(a) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var e = {
                data: function() {
                    return {
                        colType: "",
                        screenWidth: ""
                    };
                },
                props: {
                    params: {
                        type: Object,
                        default: {}
                    },
                    bgColor: {
                        type: String,
                        default: ""
                    }
                },
                computed: {
                    styone: function() {
                        return {
                            height: (this.screenWidth - 20 - this.params.params.paddingLR.slice(0, this.params.params.paddingLR.length - 2)) / 2 / 1 + "px"
                        };
                    },
                    len: function() {
                        return this.params.data.length;
                    },
                    paea: function() {
                        return this.params.params, this.params.params;
                    },
                    proListBox: function() {
                        if (this.params.params) {
                            var a = this.params.params;
                            return a.paddingTop || (a.paddingTop = "0rpx"), a.paddingBottom || (a.paddingBottom = "10rpx"), 
                            {
                                padding: a.paddingTop + " " + a.paddingLR + " " + a.paddingBottom,
                                "background-color": 1 == a.bgType ? this.bgColor : a.bgColor
                            };
                        }
                    },
                    shopbgcolor: function() {
                        if (this.params.params) {
                            var a = this.params.params;
                            return {
                                "background-color": a.goodBgColor,
                                "border-radius": "0 0 " + a.bottomRadius + " " + a.bottomRadius + " "
                            };
                        }
                    },
                    shoptbgcolor: function() {
                        if (this.params.params) {
                            var a = this.params.params, t = {
                                "background-color": a.goodBgColor,
                                "border-radius": a.topRadius + " " + a.topRadius + " " + a.bottomRadius + " " + a.bottomRadius + " "
                            };
                            return 3 == this.params.params.type ? t : {};
                        }
                    },
                    shoptitColor: function() {
                        if (this.params.params) return {
                            color: this.params.params.titleColor
                        };
                    },
                    priceColor: function() {
                        return {
                            color: this.params.params.priceColor
                        };
                    },
                    linePriceColor: function() {
                        return {
                            "margin-top": "6rpx",
                            color: this.params.params.linePriceColor,
                            "font-size": 2 == this.params.params.type ? "20rpx" : "24rpx"
                        };
                    },
                    salesColor: function() {
                        return {
                            "margin-top": "6rpx",
                            color: this.params.params.salesColor,
                            "font-size": 2 == this.params.params.type ? "20rpx" : "24rpx"
                        };
                    },
                    carColor: function() {
                        return {
                            color: this.params.params.btnColor
                        };
                    },
                    shpin_box: function() {
                        if (this.params.params) {
                            var a = this.params.params, t = {
                                "border-radius": a.topRadius + " " + a.topRadius + " " + a.bottomRadius + " " + a.bottomRadius + " "
                            };
                            return 3 == this.params.params.type ? {} : 5 == this.params.params.type ? (t.width = "100%", 
                            t) : t;
                        }
                    },
                    imgradiu: function() {
                        if (this.params.params) {
                            var a = this.params.params;
                            return {
                                height: 2 == a.type ? (this.screenWidth - 20 - this.params.params.paddingLR.slice(0, this.params.params.paddingLR.length - 2)) / 3 / 1 + "px" : 4 == a.type ? "312rpx" : (this.screenWidth - 20 - this.params.params.paddingLR.slice(0, this.params.params.paddingLR.length - 2)) / 2 / 1 + "px",
                                width: 4 == a.type ? "312rpx" : "100%",
                                "border-radius": a.topRadius + " " + a.topRadius + " 0 0 "
                            };
                        }
                    },
                    imgtradiu: function() {
                        if (this.params.params) {
                            var a = this.params.params;
                            return {
                                "border-radius": a.topRadius + " " + a.topRadius + " " + a.topRadius + " " + a.topRadius + " "
                            };
                        }
                    },
                    imgrad: function() {
                        var a = this.params.params;
                        return a.topRadius + " " + a.topRadius + " 0 0 ";
                    },
                    imgradThree: function() {
                        var a = this.params.params;
                        return a.topRadius + " " + a.topRadius + " " + a.topRadius + " " + a.topRadius + " ";
                    },
                    diymake: function() {
                        if (this.params.params) {
                            var a = this.params.params;
                            return {
                                "border-radius": a.topRadius + " 0 20rpx 0 ",
                                "background-color": a.makeColor
                            };
                        }
                    }
                },
                watch: {
                    params: function() {
                        this.params.params = this.params.params, 1 != this.paea.type ? 2 != this.paea.type ? 3 != this.paea.type || (this.colType = 1) : this.colType = 3 : this.colType = 2;
                    }
                },
                created: function() {
                    var t = this;
                    a.getSystemInfo({
                        success: function(a) {
                            t.screenWidth = a.windowWidth;
                        }
                    });
                },
                mounted: function() {
                    1 != this.paea.type ? 2 != this.paea.type ? 3 != this.paea.type || (this.colType = 1) : this.colType = 3 : this.colType = 2;
                },
                methods: {
                    navToGoogDetails: function(a) {
                        this.$emit("navToDetail", a);
                    }
                }
            };
            t.default = e;
        }).call(this, e("543d").default);
    },
    6585: function(a, t, e) {
        e.d(t, "b", function() {
            return p;
        }), e.d(t, "c", function() {
            return s;
        }), e.d(t, "a", function() {});
        var p = function() {
            var a = this, t = (a.$createElement, a._self._c, 1 == a.params.params.show ? a.__get_style([ a.proListBox ]) : null), e = 1 == a.params.params.show ? a.__get_style([ a.shoptbgcolor ]) : null, p = a.__get_style([ a.shpin_box ]), s = 3 != a.paea.type && 5 != a.paea.type && 1 == a.paea.isMake ? a.__get_style([ a.diymake ]) : null, r = 3 != a.paea.type && 5 != a.paea.type ? a.__get_style([ a.imgradiu ]) : null, i = 3 != a.paea.type && 5 != a.paea.type ? a.__get_style([ a.shoptitColor ]) : null, o = 3 != a.paea.type && 5 != a.paea.type ? a.__get_style([ a.shopbgcolor ]) : null, n = 3 != a.paea.type && 5 != a.paea.type && 1 == a.paea.isPrice ? a.__get_style([ a.priceColor ]) : null, l = 3 != a.paea.type && 5 != a.paea.type && 1 == a.paea.isBtn ? a.__get_style([ a.carColor ]) : null, u = 3 != a.paea.type && 5 != a.paea.type && 1 == a.paea.isSales ? a.__get_style([ a.salesColor ]) : null, c = 3 == a.paea.type && 1 == a.paea.isMake ? a.__get_style([ a.diymake ]) : null, m = 3 == a.paea.type ? a.__get_style([ a.imgtradiu ]) : null, d = 3 == a.paea.type ? a.__get_style([ a.shoptitColor ]) : null, h = 3 == a.paea.type && 1 == a.paea.isPrice ? a.__get_style([ a.priceColor ]) : null, y = 3 == a.paea.type && 1 == a.paea.isBtn ? a.__get_style([ a.carColor ], {
                "font-size": "44rpx",
                "text-align": "right"
            }) : null, _ = 3 == a.paea.type && 1 == a.paea.isSales ? a.__get_style([ a.salesColor ]) : null, g = 5 == a.paea.type && 1 == a.paea.isMake ? a.__get_style([ a.diymake ]) : null, f = 5 == a.paea.type ? a.__get_style([ a.imgtradiu ]) : null, b = 5 == a.paea.type ? a.__get_style([ a.shoptitColor ]) : null, C = 5 == a.paea.type && 1 == a.paea.isPrice ? a.__get_style([ a.priceColor ]) : null, R = 5 == a.paea.type && 1 == a.paea.isSales ? a.__get_style([ a.salesColor ]) : null, v = 5 == a.paea.type && 1 == a.paea.isBtn ? a.__get_style([ a.carColor ], {
                "font-size": "44rpx",
                "text-align": "right"
            }) : null, x = 1 == a.params.params.show ? a.__map(a.params.data, function(t, e) {
                var p = a.__get_orig(t), s = 3 != a.paea.type && 5 != a.paea.type ? 1 == a.paea.isLinePrice && parseInt(t.line_price) > 0 : null, r = 3 != a.paea.type && 5 != a.paea.type && s ? a.__get_style([ a.linePriceColor ]) : null, i = 3 != a.paea.type && 5 != a.paea.type && s ? a.paea.lineTitle && parseInt(t.line_price) > 0 : null, o = 3 != a.paea.type && 5 != a.paea.type && s && i ? a.paea.lineTitle && parseInt(t.line_price) > 0 : null, n = 3 != a.paea.type && 5 != a.paea.type && s ? parseInt(t.line_price) : null, l = 3 == a.paea.type ? 1 == a.paea.isLinePrice && parseInt(t.line_price) > 0 : null;
                return {
                    $orig: p,
                    m0: s,
                    s8: r,
                    m1: i,
                    m2: o,
                    m3: n,
                    m4: l,
                    s15: 3 == a.paea.type && l ? a.__get_style([ a.linePriceColor ]) : null,
                    m5: 3 == a.paea.type && l && a.paea.lineTitle ? a.paea.lineTitle && parseInt(t.line_price) > 0 : null,
                    m6: 3 == a.paea.type && l ? parseInt(t.line_price) : null
                };
            }) : null;
            a.$mp.data = Object.assign({}, {
                $root: {
                    s0: t,
                    s1: e,
                    s2: p,
                    s3: s,
                    s4: r,
                    s5: i,
                    s6: o,
                    s7: n,
                    s9: l,
                    s10: u,
                    s11: c,
                    s12: m,
                    s13: d,
                    s14: h,
                    s16: y,
                    s17: _,
                    s18: g,
                    s19: f,
                    s20: b,
                    s21: C,
                    s22: R,
                    s23: v,
                    l0: x
                }
            });
        }, s = [];
    },
    6736: function(a, t, e) {
        e.r(t);
        var p = e("6585"), s = e("6b16");
        for (var r in s) "default" !== r && function(a) {
            e.d(t, a, function() {
                return s[a];
            });
        }(r);
        e("71ce");
        var i = e("f0c5"), o = Object(i.a)(s.default, p.b, p.c, !1, null, "7c7c98b7", null, !1, p.a, void 0);
        t.default = o.exports;
    },
    "6b16": function(a, t, e) {
        e.r(t);
        var p = e("25f1"), s = e.n(p);
        for (var r in p) "default" !== r && function(a) {
            e.d(t, a, function() {
                return p[a];
            });
        }(r);
        t.default = s.a;
    },
    "71ce": function(a, t, e) {
        var p = e("9687");
        e.n(p).a;
    },
    9687: function(a, t, e) {}
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/kp-shop/product-create-component", {
    "components/kp-shop/product-create-component": function(a, t, e) {
        e("543d").createComponent(e("6736"));
    }
}, [ [ "components/kp-shop/product-create-component" ] ] ]);